package project.pojo;

public class Major {
    private String name;
    private String introduction;
    private String departmentName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Override
    public String toString() {
        return "Major{" +
                "name='" + name + '\'' +
                ", introduction='" + introduction + '\'' +
                ", departmentName='" + departmentName + '\'' +
                '}';
    }
}
